﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using Janus.Mes.SqlDal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Janus.Mes.POCO;
using Janus.Cores.Linq;
using System.Linq.Expressions;

namespace Tests.Janus.Mes.SqlDal
{
    [TestClass()]
    public class CommonTest
    {
        [TestMethod()]
        public void LamdaToSqlTest()
        {
            //var la = new Expression<Func<Indicator, Indicator>>((c, p) => { });
            //var lasss = la.
            var lamda = System.Linq.Dynamic.DynamicExpression.ParseLambda<Indicator, object>("{IndicatorName=\"5555\" ,IndicatorValue=123}");
            var vv = lamda.ToUpdater();
        }
    }
}
